package com.netflix.client;

import com.netflix.client.config.IClientConfig;

public interface IClientConfigAware {

    interface Factory {
        Object create(String type, IClientConfig config) throws InstantiationException, IllegalAccessException, ClassNotFoundException;
    }

    default void initWithNiwsConfig(IClientConfig clientConfig) {
    }

    default void initWithNiwsConfig(IClientConfig clientConfig, Factory factory) {
        initWithNiwsConfig(clientConfig);
    }
}
